package com.company.decorator;

/**
 * 具体装饰器(ConcreteDecorator)角色，360度全景影像装饰器类，CY是车衣的缩写，QJ360是360度全景影像的缩写
 */
public class QJ360CarDecorator extends CarDecorator {
    private String description = "360度全景影像";

    public QJ360CarDecorator(Car car){
        super(car);
    }


    @Override
    public String getDescription() {
        return super.getDescription() + " + "+ description;
    }

    /**
     * 360度全景影像价格，假设1万
     * @return
     */
    @Override
    public int getPrice() {
        return super.getPrice() + 1;
    }
}
